package com.scf.enterprise.service;

import com.scf.enterprise.entity.EccontactInfor;
import com.scf.enterprise.entity.EnterpriseIfmtion;
import com.scf.enterprise.entity.LegalPerson;

import java.util.List;

public interface EnterpriseService {

    public List<EnterpriseIfmtion> selectAll(EnterpriseIfmtion epinfo,int pageIndex,int pageSize);


    public int selectEpCount(EnterpriseIfmtion epinfo);

    public EnterpriseIfmtion selectepByid(int epid);

    /**
     * 黑名单状态修改
     * @param epid
     * @param epstate
     */
    public void updateepStateByid(int epid,int epstate);


    public void updateEp(EnterpriseIfmtion epinfo);

    public void updateLp(LegalPerson leper);

    public void updateEcc(EccontactInfor ecc);

    public void insertEpData(EnterpriseIfmtion epinfo);

    public void insertLpData(EnterpriseIfmtion epinfo);

    public void insertEccData(EnterpriseIfmtion epinfo);

}
